<script src="<%=server.js%>myjs/change_pwd.js?v=<%=server.version%>"></script>
<div class="modal hide fade" id="PWDModal">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal">×</button>
		<h3>修改密码</h3>
	</div>
	<form class="form-horizontal"  id="pwd-form" method="post" action="<%=server.site%>admin/update">
	<div class="modal-body">
			
		<div class="box-content">
				<input type="hidden" name="id"  value="<% if(user){%><%=user.id%><%}%>" />
				<div class="alert1 alert1-error" style="display:none"> 
				    <a class="close1" onclick="$('.alert1').hide(500)">&times;</a>  
				    <span id="PWDerrormsg"></span>  
				</div>
				<fieldset>
				  <div class="control-group">
					<label class="control-label">原始密码</label>
					<div class="controls">
					  <input class="input-xlarge focused" name="oldpwd"  id="oldpwd" type="password" />
					</div>
				  </div>
				   <div class="control-group">
					<label class="control-label">新密码</label>
					<div class="controls">
					  <input class="input-xlarge focused" name="newpwd"  id="newpwd" type="password" />
					</div>
				  </div>
				   <div class="control-group">
					<label class="control-label">密码确认</label>
					<div class="controls">
					  <input class="input-xlarge focused" name="newpwd1" id="newpwd1" type="password" />
					</div>
				  </div>
			</fieldset>
	</div>		 
	</div>
	<div class="modal-footer">
		<a href="#" class="btn" data-dismiss="modal">关闭</a>
		<button type="submit" class="btn btn-primary" data-loading-text="保存中...">保存</button>
	</div>
	</form>
</div>